package battlebarnapplet.entities;

/**
 * 
 * @author John Creecy
 */
public class PlayerMovementEntity {

	private int prevX;
	private int prevY;
	private int newX;
	private int newY;
	private int transX;
	private int transY;
	private int velocityX;
	private int velocityY;
	private int facing;
	private String playerId;
	private int health;

	public PlayerMovementEntity(int pX, int pY, int nX, int nY, int vX, int vY, String pId, int hp, int face) {
		prevX = pX;
		prevY = pY;
		newX = nX;
		newY = nY;
		velocityX = vX;
		velocityY = vY;
		playerId = pId;
		health = hp;
		facing = face;
	}
	
	public int getHealth() {
		return health;
	}

	public int getFacing() {
		return facing;
	}

	public int getPrevX() {
		return prevX;
	}

	public int getPrevY() {
		return prevX;
	}

	public int getNewX() {
		return newX;
	}

	public int getNewY() {
		return newY;
	}

	public int getVelocityX() {
		return velocityX;
	}

	public int getVelocityY() {
		return velocityY;
	}

	public String getPlayerId() {
		return playerId;
	}
}
